package cn.xuexiyuan.springstudy.core.demo05.config;

import cn.xuexiyuan.springstudy.core.demo05.entity.AbstractPrefix;
import cn.xuexiyuan.springstudy.core.demo05.entity.DatePrefix;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class PrefixConfiguration {

    @Bean
    public AbstractPrefix datePrefix(){
        return new DatePrefix();
    }

}
